package com.googlecode.sc2dm;

import com.googlecode.sc2dm.register.util.AnnotatedOneArg1;
import com.googlecode.sc2dm.register.util.AnnotatedTwoArgs;
import com.googlecode.sc2dm.register.util.NotAnnotated;
import junit.framework.TestCase;

/**
 * @Author Jarle Hansen (jarle@jarlehansen.net)
 * Created: 9:03 PM - 9/13/11
 */
public class SC2DMPushMessagesTest extends TestCase {

    public void testInit() {
        SC2DM.INSTANCE.reset();

        new SC2DMPushMessages(null, "test@test.com");

        assertEquals("test@test.com", SC2DM.INSTANCE.email());
        assertNotNull(SC2DM.INSTANCE.messageReceiver());
        assertNotNull(SC2DM.INSTANCE.deviceRegistration());
    }
    
}
